home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4456 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.0 KB  |  46 lines

  1. Newsgroups: comp.lang.c++
  2. Path: cs.vu.nl!jalten
  3. From: jalten@cs.vu.nl (Alten JP)
  4. Subject: Re: Why C++ sucks++
  5. Nntp-Posting-Host: kits.cs.vu.nl
  6. References: <1996Jan29.223357.1@aspen> <4ek6e8$s76@reader2.ix.netcom.com> <4el6dl$a8n@crchh327.rich.bnr.ca>
  7. Sender: news@cs.vu.nl
  8. Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
  9. Date: Tue, 30 Jan 1996 13:46:07 GMT
  10. X-Newsreader: TIN [version 1.2 PL2]
  11. Message-ID: <DLzy8w.J49.0.-s@cs.vu.nl>
  12.  
  13. Joe Halpin (jhalpin@bnr.ca) wrote:
  14. : In article <4ek6e8$s76@reader2.ix.netcom.com>,
  15. : Jason D. Morris <jdmorris@ix.netcom.com> wrote:
  16. : >ferriom@aspen wrote:
  17.  
  18. [flush]
  19.  
  20. : Don't forget
  21.  
  22. : #include <stdio.h>
  23.  
  24. : int main()
  25. : {
  26. :   printf("Hello, world.\n");
  27. :   return 0;
  28. : }
  29.  
  30. eh, if we're talking about C++, why not
  31. int main()
  32.   cout << "Hello, world" << endl;
  33.   return 0;
  34. }
  35.  
  36. :-)
  37.  
  38. Jelle
  39.  
  40. --
  41. +-------------------------------------------------------+
  42. | Jelle Paul Alten                |   jalten@cs.vu.nl   |
  43. | Vrije Universiteit Amsterdam    |                     |
  44. +-------------------------------------------------------+
  45.